/**
 * 
 */
package com.suneee.channel.entity;

import java.io.Serializable;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.GeneratedValue;
import com.suneee.orm.annotation.GenerationType;
import com.suneee.orm.annotation.Id;
import com.suneee.orm.annotation.Table;

/**
 * @author liuxh 渠道管理属性类
 */

@Entity
@Table(name = "t_channel")
public class Channel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6616181465999036453L;


	
	// 渠道编码
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "channel_code", nullable = false)
	private String channelCode;

	// 渠道名称
	@Column(name = "name", nullable = false)
	private String name ;

	// 渠道描述
	@Column(name = "channel_desc", nullable = false)
	private String channelDesc;
	
	// 接入规则
	@Column(name = "rule_json", nullable = false)
	private String ruleJson;

	public String getChannelCode() {
		return channelCode;
	}

	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getChannelDesc() {
		return channelDesc;
	}

	public void setChannelDesc(String channelDesc) {
		this.channelDesc = channelDesc;
	}

	public String getRuleJson() {
		return ruleJson;
	}

	public void setRuleJson(String ruleJson) {
		this.ruleJson = ruleJson;
	}
	
	
}
